package com.un.ebs.sys.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 1
 * </p>
 *
 * @author liubo
 * @since 2019-10-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("v_app_tenant_ext")
public class AppTenantExt extends Model<AppTenantExt> {

    private static final long serialVersionUID = 1L;

    private String id;

    private String tenantName;

    private Date startDate;

    private Date endDate;

    @TableLogic
    private Boolean isDelete;

    private String appId;

    private String appName;

    private String entId;

    private String entName;

    @TableField(fill = FieldFill.INSERT)
    private String createAt;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.UPDATE)
    private String lastModifiedAt;

    @TableField(fill = FieldFill.UPDATE)
    private Date lastModifiedTime;

    @Override
    protected Serializable pkVal() {
        return null;
    }

}